<!--------------------------------------------------------------
>//	Company:	HTHK
>//	NAME:	    ProjectCategoryList.jsp
>//	TITLE:	    The maintence of projectCategory
>//	FUNCTION:	The list page of projectCategory
>//	BY:	        Kodak Xu
>//	DATE:	    09/12/2003
//	Update_by	Poly Li
//	Update_date	16-01-2004
>// --------------------------------------------------------------
>// MODIFICATION HISTORY
>// --------------------------------------------------------------
>//	CR Log #:  99999  BY:  XXXX   DATE:  dd/mm/yyyy
>//	ERROR:	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>//	FIX:	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>// --------------------------------------------------------------
-->

<html>
<%@ include file="../tssheader.jsp" %>
<%@ page import="tss.projectcategory.*" %>
<body>
<%
    
    ProjectCategoryBean[] projectCategorys = (ProjectCategoryBean[])request.getAttribute("projectCategorys");
    if (projectCategorys==null) {
        projectCategorys = new ProjectCategory[0];
    }
    
%>
<script language="JavaScript1.1">
</script>
<body >
<h2>Project Category Maintenance</h2>
<INPUT type=button value=Back onclick="location.href='<%=contextPath%>/tss/projectcategory/ProjectCategorySearch.jsp'">
<h5><%=projectCategorys.length%> Project Category(s)</h5>
<table cols=3 border=1 >
<thead>
  <td><b>Department Name</b></td>
  <td><b>Project Category</b></td>
<!-- Modify by Poly Li -->
</thead>
<%  for (int i=0; i<projectCategorys.length; i++)
    {   %>
<tr>
	<td><%=projectCategorys[i].getCompany_code()%></td>
    <td><a href="<%=contextPath%>/servlet/tss.projectcategory.ProjectCategorySearch?formAction=Update&project_category_name=<%=projectCategorys[i].getProject_category_name()%>"><%=projectCategorys[i].getProject_category_name()%></a></td>
	
</tr>
<%  } %>
</table>
</body>
<%@ include file="../tssfooter.jsp" %>
</body>
</html>

